You are here: Case management > Surveys > Creating a survey > Collecting a single response in a survey

Collecting a single response in a survey

You can use a simple question in a survey to collect a single response from a user. By choosing a question format that is specific to the type of information that you are gathering, you can help users provide complete answers.

For example, you can ask users to enter a mobile phone number in a text box or select a check box to indicate whether they are currently employed.

  1. Click Designer Studio > Case Management > Survey to open the Survey Management landing page.

  2. Click the name of a survey that has at least one question page defined.

  3. Click Add question > Browse all types > Single answer > [answer type] to open the Add question dialog box.

  4. In the Name field, enter a unique name that describes the purpose of the question.

  5. Optional: To change the scope of the question, expand the Context section and provide a different class name, ruleset name, or ruleset version.

    The scope controls which rules can reference your question and which rules your question can reference.

  6. In the Question layout list, select an option that indicates how the text of the question is sourced in your application.

    For example, you can define your own text or reuse the text from a paragraph rule.

  7. Provide the source of the question text by entering a value in one of the following fields:

  8. Format the fields that users interact with to answer the question.

  9. In the Map to property field, press the Down Arrow key and select the name of a property that stores the answer that the user provides.

    Some types of questions, such as custom sections, do not support property mapping.

  10. Click Save to close the Add question dialog box.

Previous: Adding a question page to a survey

 

Next: Collecting multiple answers in a survey